/*
 * @Descripttion: 
 * @version: 
 * @Author: mmzhang
 * @Date: 2021-07-27 16:02:34
 * @LastEditTime: 2022-01-13 10:37:01
 */
import table from '@/components/dt/table/render.js'
import Opt from '@/components/dt/info/Opt.js'

let _this = null

class Column extends Opt {
  constructor(vm) {
    super()
    _this = vm
    this.build()
  }

  build() {
    this.createAll()
    this.opts.push(...this.all)
  }

  createAll() {
    console.log(_this.curState, 'curState')
    this.all = [
    {
      type: 'index',
      title: '序号',
      width: 60
    },
    {
      field: 'operateDate',
      title: '操作时间',
      width: 180
    },
    {
      field: 'auditPeople',
      title: '审批人',
      width: 180
    },
    {
      field: 'auditResult',
      title: '审批意见',
      width: 100,
    },
    {
      field: 'auditReason',
      title: '审批内容',
      minWidth: 100
    }, ]
  }

}

export default Column